package com.edu.study.base.stuAnswerResultSummary.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 答题结果汇总对象 stu_answer_result_summary
 * 
 * @author jjt
 * @date 2021-06-20
 */
public class StuAnswerResultSummary extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 动态关系表ID */
    @Excel(name = "动态关系表ID")
    @ApiModelProperty("动态关系表ID")
    private Long relationId;

    @Excel(name = "类型 1：课程 2 ：题卷 3:作文")
    @ApiModelProperty("类型 1：课程 2 ：题卷 3:作文")
    private Integer type;

    /** app用户ID */
    @Excel(name = "app用户ID")
    @ApiModelProperty("app用户ID")
    private Long appUserId;

    /** 得分数 */
    @Excel(name = "得分数")
    @ApiModelProperty("得分数")
    private BigDecimal scoreValue;

    /** 开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "开始时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty("开始时间")
    private Date answerStartTime;

    /** 结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "结束时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty("结束时间")
    private Date answerEndTime;

    /** 共计时长 */
    @Excel(name = "共计时长")
    @ApiModelProperty("共计时长")
    private Long totalDuration;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createDate;

    /** 创建人 */
    @Excel(name = "创建人")
    private Long createUserId;

    /** 修改时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "修改时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date updateDate;

    /** 修改人 */
    @Excel(name = "修改人")
    private Long updateUserId;

    /** 删除标记 */
    @Excel(name = "删除标记")
    private String deleteFlag;

    /** 是否是定时器保存(1:是 2:否) */
    @Excel(name = "是否是定时器保存(1:是 2:否)")
    private String isTimerSave;

    /** 所有题是否全答完 */
    @Excel(name = "所有题是否全答完")
    private String isAllOver;

    /** 题型代码 */
    @Excel(name = "题型id")
    @ApiModelProperty("题型id")
    private String questionTypeId;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public Long getRelationId() {
        return relationId;
    }

    public void setRelationId(Long relationId) {
        this.relationId = relationId;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getQuestionTypeId() {
        return questionTypeId;
    }

    public void setQuestionTypeId(String questionTypeId) {
        this.questionTypeId = questionTypeId;
    }

    public void setAppUserId(Long appUserId)
    {
        this.appUserId = appUserId;
    }

    public Long getAppUserId() 
    {
        return appUserId;
    }

    public BigDecimal getScoreValue() {
        return scoreValue;
    }

    public void setScoreValue(BigDecimal scoreValue) {
        this.scoreValue = scoreValue;
    }

    public void setAnswerStartTime(Date answerStartTime)
    {
        this.answerStartTime = answerStartTime;
    }

    public Date getAnswerStartTime() 
    {
        return answerStartTime;
    }
    public void setAnswerEndTime(Date answerEndTime) 
    {
        this.answerEndTime = answerEndTime;
    }

    public Date getAnswerEndTime() 
    {
        return answerEndTime;
    }
    public void setTotalDuration(Long totalDuration) 
    {
        this.totalDuration = totalDuration;
    }

    public Long getTotalDuration() 
    {
        return totalDuration;
    }
    public void setCreateDate(Date createDate) 
    {
        this.createDate = createDate;
    }

    public Date getCreateDate() 
    {
        return createDate;
    }
    public void setCreateUserId(Long createUserId) 
    {
        this.createUserId = createUserId;
    }

    public Long getCreateUserId() 
    {
        return createUserId;
    }
    public void setUpdateDate(Date updateDate) 
    {
        this.updateDate = updateDate;
    }

    public Date getUpdateDate() 
    {
        return updateDate;
    }
    public void setUpdateUserId(Long updateUserId) 
    {
        this.updateUserId = updateUserId;
    }

    public Long getUpdateUserId() 
    {
        return updateUserId;
    }
    public void setDeleteFlag(String deleteFlag) 
    {
        this.deleteFlag = deleteFlag;
    }

    public String getDeleteFlag() 
    {
        return deleteFlag;
    }
    public void setIsTimerSave(String isTimerSave) 
    {
        this.isTimerSave = isTimerSave;
    }

    public String getIsTimerSave() 
    {
        return isTimerSave;
    }
    public void setIsAllOver(String isAllOver) 
    {
        this.isAllOver = isAllOver;
    }

    public String getIsAllOver() 
    {
        return isAllOver;
    }




}
